package com.pp.common.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@TableName("sys_user")
public class Admin extends BasePojo {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String username;
    private String password;
    private String salt; // salt字段待定
    private String phone;
    private String email;
    private Boolean valid; // 若属性为Boolean，那么表中对应字段的类型是tinyint，反之亦然

}
